/**
 * Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 */

package com.mto.quangcao.model;

import java.io.Serializable;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * This class is used by SOAP remote services.
 *
 * @author    thanh.tran
 * @generated
 */
public class QuangCao_bannerSoap implements Serializable {
	public static QuangCao_bannerSoap toSoapModel(QuangCao_banner model) {
		QuangCao_bannerSoap soapModel = new QuangCao_bannerSoap();

		soapModel.setQuangCaoId(model.getQuangCaoId());
		soapModel.setContent(model.getContent());
		soapModel.setCountView(model.getCountView());
		soapModel.setCountClick(model.getCountClick());
		soapModel.setUserId(model.getUserId());
		soapModel.setStartDate(model.getStartDate());
		soapModel.setEndDate(model.getEndDate());
		soapModel.setTitle(model.getTitle());
		soapModel.setDescription(model.getDescription());
		soapModel.setFileEntryId(model.getFileEntryId());
		soapModel.setStatus(model.getStatus());
		soapModel.setType(model.getType());
		soapModel.setLink(model.getLink());
		soapModel.setCreateDate(model.getCreateDate());
		soapModel.setModifyDate(model.getModifyDate());
		soapModel.setUserModifyId(model.getUserModifyId());
		soapModel.setUserModifyIp(model.getUserModifyIp());
		soapModel.setLimitClick(model.getLimitClick());
		soapModel.setWidthBanner(model.getWidthBanner());
		soapModel.setHeightBanner(model.getHeightBanner());

		return soapModel;
	}

	public static QuangCao_bannerSoap[] toSoapModels(QuangCao_banner[] models) {
		QuangCao_bannerSoap[] soapModels = new QuangCao_bannerSoap[models.length];

		for (int i = 0; i < models.length; i++) {
			soapModels[i] = toSoapModel(models[i]);
		}

		return soapModels;
	}

	public static QuangCao_bannerSoap[][] toSoapModels(
		QuangCao_banner[][] models) {
		QuangCao_bannerSoap[][] soapModels = null;

		if (models.length > 0) {
			soapModels = new QuangCao_bannerSoap[models.length][models[0].length];
		}
		else {
			soapModels = new QuangCao_bannerSoap[0][0];
		}

		for (int i = 0; i < models.length; i++) {
			soapModels[i] = toSoapModels(models[i]);
		}

		return soapModels;
	}

	public static QuangCao_bannerSoap[] toSoapModels(
		List<QuangCao_banner> models) {
		List<QuangCao_bannerSoap> soapModels = new ArrayList<QuangCao_bannerSoap>(models.size());

		for (QuangCao_banner model : models) {
			soapModels.add(toSoapModel(model));
		}

		return soapModels.toArray(new QuangCao_bannerSoap[soapModels.size()]);
	}

	public QuangCao_bannerSoap() {
	}

	public long getPrimaryKey() {
		return _quangCaoId;
	}

	public void setPrimaryKey(long pk) {
		setQuangCaoId(pk);
	}

	public long getQuangCaoId() {
		return _quangCaoId;
	}

	public void setQuangCaoId(long quangCaoId) {
		_quangCaoId = quangCaoId;
	}

	public String getContent() {
		return _content;
	}

	public void setContent(String content) {
		_content = content;
	}

	public long getCountView() {
		return _countView;
	}

	public void setCountView(long countView) {
		_countView = countView;
	}

	public long getCountClick() {
		return _countClick;
	}

	public void setCountClick(long countClick) {
		_countClick = countClick;
	}

	public long getUserId() {
		return _userId;
	}

	public void setUserId(long userId) {
		_userId = userId;
	}

	public Date getStartDate() {
		return _startDate;
	}

	public void setStartDate(Date startDate) {
		_startDate = startDate;
	}

	public Date getEndDate() {
		return _endDate;
	}

	public void setEndDate(Date endDate) {
		_endDate = endDate;
	}

	public String getTitle() {
		return _title;
	}

	public void setTitle(String title) {
		_title = title;
	}

	public String getDescription() {
		return _description;
	}

	public void setDescription(String description) {
		_description = description;
	}

	public long getFileEntryId() {
		return _fileEntryId;
	}

	public void setFileEntryId(long fileEntryId) {
		_fileEntryId = fileEntryId;
	}

	public String getStatus() {
		return _status;
	}

	public void setStatus(String status) {
		_status = status;
	}

	public String getType() {
		return _type;
	}

	public void setType(String type) {
		_type = type;
	}

	public String getLink() {
		return _link;
	}

	public void setLink(String link) {
		_link = link;
	}

	public Date getCreateDate() {
		return _createDate;
	}

	public void setCreateDate(Date createDate) {
		_createDate = createDate;
	}

	public Date getModifyDate() {
		return _modifyDate;
	}

	public void setModifyDate(Date modifyDate) {
		_modifyDate = modifyDate;
	}

	public long getUserModifyId() {
		return _userModifyId;
	}

	public void setUserModifyId(long userModifyId) {
		_userModifyId = userModifyId;
	}

	public String getUserModifyIp() {
		return _userModifyIp;
	}

	public void setUserModifyIp(String userModifyIp) {
		_userModifyIp = userModifyIp;
	}

	public long getLimitClick() {
		return _limitClick;
	}

	public void setLimitClick(long limitClick) {
		_limitClick = limitClick;
	}

	public long getWidthBanner() {
		return _widthBanner;
	}

	public void setWidthBanner(long widthBanner) {
		_widthBanner = widthBanner;
	}

	public long getHeightBanner() {
		return _heightBanner;
	}

	public void setHeightBanner(long heightBanner) {
		_heightBanner = heightBanner;
	}

	private long _quangCaoId;
	private String _content;
	private long _countView;
	private long _countClick;
	private long _userId;
	private Date _startDate;
	private Date _endDate;
	private String _title;
	private String _description;
	private long _fileEntryId;
	private String _status;
	private String _type;
	private String _link;
	private Date _createDate;
	private Date _modifyDate;
	private long _userModifyId;
	private String _userModifyIp;
	private long _limitClick;
	private long _widthBanner;
	private long _heightBanner;
}